package com.basic

/**
 * @description:
 * @author: marshal
 * @date: 2021-08-09 4:58 PM
 */
object Methods extends App {

  def max(x: Int, y: Int) = if (x > y) x else  y

  println(max(10, 20))
}
